package com.imti.mall.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.imti.mall.model.oms.pojo.OmsOrderSetting;
import com.imti.mall.order.mapper.OrderSettingMapper;
import com.imti.mall.order.service.OrderSettingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class OrderSettingServiceImpl extends ServiceImpl<OrderSettingMapper, OmsOrderSetting> implements OrderSettingService {
    @Resource
    private OrderSettingMapper orderSettingMapper;

    @Override
    public OmsOrderSetting getOrderSetting() {
        return orderSettingMapper.getOrderSetting();
    }

    @Override
    public Integer updateOrderSetting(OmsOrderSetting omsOrderSetting) {
        return orderSettingMapper.updateOrderSetting(omsOrderSetting);
    }
}
